package com.atguigu.gulimall.product.service;

import com.atguigu.gulimall.product.entity.Member;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface MemberService extends IService<Member> {

    /**
     * 保存会员
     *
     */
    boolean saveMember(Member member);

    boolean updateMember(Member member);

    List<Member> findPage(Integer pageNumber, Integer pageSize, String keyword);

    Member findById(Long id);

    boolean deleteMember(List<Long> ids);
}
